<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../5月14日课/jsj.js">

    </script>
</head>
<body>
    请输入第一个数：<input type="number" id="num1"><br>
    请输入第二个数:<input type="number" id="num2"><br>
    <input type="button" value="+" onclick="add()">
    <button onclick="jian()">减</button>
    <button onclick="cheng()">乘</button>
    <button onclick="chu()">除</button><br>
    结果:<input type="text" id="result">
</body>
</html>